@extends('admin.layout.homeindex')
@section('content')
<!--//////////////////////////////////////////////////-->
<!--///////////////////  个人中心页  ///////////////////-->
<!--//////////////////////////////////////////////////-->
<div id="page-content" class="single-page">
	<div class="container">
		<div class="row">
			<div class="col-lg-12">
				<ol class="breadcrumb">
				  <li><a href="{{url('/homeuser/homeuser')}}">个人中心</a></li>
				  <li><a href="{{url('/homeuser/homeuserdata')}}">个人资料</a></li>
				  <li><a href="{{url('/homeuser/homeuserpass')}}">修改密码</a></li>
				  <li><a href="{{url('/homeuser/homeuseraddress')}}">地址管理</a></li>
				  <li><a href="">我的收藏</a></li>
				  <li><a href="{{url('/cart/index')}}">购物车</a></li>
				  <li><a href="#">我的订单</a></li>
				</ol>
			</div>
		</div>
			<!-- 修改密码 -->
		<div class="row">
			<div class="col-lg-12">
				<div class="heading"><h5>密码修改</h5></div>
				@if(session('error'))
                <div class="alert alert-danger alert-dismissable col-md-6 col-md-offset-3">
                    <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button>
                    {{session('error')}}
                </div>
            	@endif
			</div>
			<!-- 修改密码 -->
			<div class="col-md-6" style="margin-bottom: 30px;">
				<form name="form1" id="ff" method="post" action="/homeuser/doeditpass">
					<div class="form-group">
						<input type="password" value="" class="form-control" placeholder="原密码 *" name="ypass" id="name" required data-validation-required-message="Please enter your name.">
					</div>
					<div class="form-group">
						<input type="password" value="" class="form-control" placeholder="新密码 *" name="xpass" id="email" required data-validation-required-message="Please enter your email address.">
					</div>
					<div class="form-group">
						<input type="password" value="" class="form-control" placeholder="确认新密码 *" name="repass" id="email" required data-validation-required-message="Please enter your email address.">
					</div>
					{{csrf_field()}}
					<button type="submit" class="btn btn-1">修改</button>
				</form>
			</div>
		</div>
	</div>
</div>
@endsection('content')
